#pragma once

#ifndef STRUCTS_H_
#define STRUCTS_H_

#include <stdlib.h>
#include <string>

#include "Enums.h"

struct PartRecipe {
	PartType partType;
	bool topLane;
	//PartRecipe(PartType temp, bool oh){ partType=temp; topLane=oh;}
bool PartRecipe::equals(const PartRecipe x)
{
    if(x.partType==partType && x.topLane==topLane )
        return true;

    return false;

}
bool PartRecipe::operator==(const PartRecipe x)
{
	if(x.partType==partType && x.topLane==topLane )
        return true;

    return false;
}

};
struct FeederOrder{PartRecipe partRecipe;
int feederNumber;
FeederOrder::FeederOrder(){}
FeederOrder::FeederOrder(PartRecipe rep, int oh){partRecipe=rep;feederNumber=oh;}
bool FeederOrder::operator==(const FeederOrder x)
{
	FeederOrder temp=x;
	if(temp.partRecipe.equals(partRecipe)   && x.feederNumber==feederNumber )
        return true;

    return false;

}

};


#endif